package test.school.entity;

public abstract class Person {
    protected String id;
    protected String name;
    protected String gender;

    public Person(String id, String name,String gender){
        this.id = id;
        this.name = name;
        this.gender = gender;
    }

    public abstract void printWorksheet();

    public String getId(){
        return id;
    }

    public String getName(){
        return name;
    }

    public String getGender(){
        return gender;
    }

}
